﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Chaotic.Core.Mvvm;

namespace Chaotic.Core.RabbonMenu
{
    public class TabViewModel : ViewModelBase
    {
        private bool isSelected;
        private string text;

        private ObservableCollection<GroupModel> groups;

        public TabViewModel()
        {
            groups = new ObservableCollection<GroupModel>();
        }

        public ObservableCollection<GroupModel> Groups
        {
            get
            {
                return groups;
            }
        }

        public bool IsSelected
        {
            get
            {
                return this.isSelected;
            }
            set
            {
                this.SetProperty(ref isSelected, value); 
            }
        }

        public string Text
        {
            get
            {
                return this.text;
            }
            set
            {
                this.SetProperty(ref text, value); 
            }
        }
    }
}
